FortiOS 5.4 Online Help Link FortiOS 5.2 Online Help Link FortiOS 5.0 Online Help Link FortiOS 4.3 Online Help Link

Home > Online Help

> Chapter 9 - Firewall > Firewall objects > Addresses > IP Range Addresses

IP range addresses

Where the Subnet address is good a representing a standardized group of addresses that are subnets the IP Range type of address can describe a group of addresses while being specific and granular. It does this by specifying a continuous set of IP addresses between one specific IP address and another. While it is most common that this range is with a subnet it is not a requirement. For instance, 192.168.1.0/24 and 192.168.2.0/24 would be 2 separate subnets but if you wanted to descript the top half of one and the bottom half of the other you could describe the range of 192.168.1.128-192.168.2.127. It’s also a lot easier that trying to calculate the correct subnet mask.

The format would be:

x.x.x.x-x.x.x.x, such as 192.168.110.100-192.168.110.120

There is a notation that is commonly used and accepted by some devices that follows the format:

x.x.x.[x-x], such as 192.168.110.[100-120]

This format is not recognized in FortiOS 5.2 as a valid IP Range.

Creating a IP range address

  1. Go to Policy & Objects > Objects > Addresses.
  2. Select Create New.
  • If you use the down arrow next to Create New, select Address.
  1. Choose the Category, “Address”.
  2. Input a Name for the address object.
  3. Select the TypeIP Range from the dropdown menu.
  4. Input the host address and subnet mask in the Subnet / IP Range field.
  5. Select the Interface from the dropdown menu.
  6. Check the Visibility box.
  7. Input any additional information in the Comments field.
  8. Press OK.

Example

Example of a IP Range address for a group of computers set aside for guests on the company network.

Category Address
Name Guest_users
Type IP Range
Subnet / IP Range 192.168.100.200-192.168.100.240
Interface Port1
Visibility [checked]
Comments Computers on the 1st floor used by guests for Internet access.
IP Range addresses can now be configured for IPv6 addresses. The only differences in creating an IPv6 IP Range address is that you would choose IPv6 Address for the Category and the syntax of the address in the Subnet/IP Range field would be in the format of 2001:0db8:0000:0002:0:0:0:20-2001:0db8:0000:0004:0:0:0:20